package org.example.service.impl;


import org.example.domain.Plant;
import org.example.mapper.PlantMapper;
import org.example.service.PlantService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author SweetPig
 * @description 针对表【t_plant】的数据库操作Service实现
 * @createDate 2024-05-28 08:53:15
 */
@Service
public class PlantServiceImpl implements PlantService {
    @Autowired
    private PlantMapper plantMapper;

    @Override
    public List<Plant> plantList() {
        return plantMapper.plantList();
    }
}




